Skip to main content

Compile

Compile[{x1,x2,…},expr] creates a compiled function that evaluates expr assuming numerical values of the xi. 

Compile[{{x1,t1},…},expr] assumes that xi is of a type that matches ti.

Compile[{{x1,t1,n1},…},expr] assumes that xi is a rank ni array of objects, each of a type that matches ti.

Compile[vars,expr,{{p1,pt1},…}] assumes that subexpressions in expr that match pi are of types that match pti.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.